package command.general;

/**
 * @Author：LJ
 * @Description：抽象的命令类
 * @Date: 2017/11/30
 * @Modified By:
 */
public abstract class Command {
    abstract void execute();
    //要想更加完善,减少Client对Reciver的依赖
    protected final Receiver receiver;
    //实现类
    public Command(Receiver receiver) {
        this.receiver = receiver;
    }
}
